package com.hejjon.domain.request;

import com.hejjon.core.domain.BaseRequest;
import com.hejjon.domain.response.BusinessFeatureCreateResponse;

import javax.validation.constraints.NotNull;

/**
 * @author: cs
 * @date: 2025-05-13 20:39:29
 * @since: 1.0
 */
public class BusinessFeatureCreateRequest extends BaseRequest<BusinessFeatureCreateResponse> {

    @NotNull(message = "名称不可为空")
    private String name;

    private String label;

    private String parentId;

    @NotNull(message = "类型不可为空")
    private String type;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLabel() {
        return label;
    }

    public void setLabel(String label) {
        this.label = label;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    @Override
    public Class<BusinessFeatureCreateResponse> getResponseType() {
        return BusinessFeatureCreateResponse.class;
    }

}
